home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-12 / target15.zip / TARGET.DOC < prev    next >
Text File  |  1992-07-21  |  29KB  |  909 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                    Target
  18.          The McAfee File Locator and Manipulator V1.5
  19.               Copyright McAfee Associates 1992
  20.             
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.              
  48.  
  49.        McAfee Associates               (408) 988-3832 office
  50.        3350 Scott Blvd, Bldg. 14       (408) 970-9727 fax
  51.        Santa Clara, CA  95054          (408) 988-4004 BBS (32 lines)
  52.        U.S.A.                          USR HST/v.32/v.42bis/MNP1-5
  53.                        CompuServe    GO MCAFEE
  54.                        InterNet  mcafee@netcom.COM
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                   Table of Contents
  65.  
  66.  
  67.       Introduction . . . . . . . . . . . . . . . . . . . . . . 2
  68.  
  69.       Using Target . . . . . . . . . . . . . . . . . . . . . . 4
  70.  
  71.       File Search Facilities . . . . . . . . . . . . . . . . . 4
  72.    
  73.       File Manipulation Facilities . . . . . . . . . . . . .  11
  74.    
  75.       The Target and Target_DRIVES Environment Variables . .  13
  76.  
  77.       Registration . . . . . . . . . . . . . . . . . . . . .  15
  78.  
  79.       Technical Support  . . . . . . . . . . . . . . . . . .  15
  80.  
  81.       Authenticity . . . . . . . . . . . . . . . . . . . . .  16
  82.  
  83.       History  . . . . . . . . . . . . . . . . . . . . . . .  17
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.                    Page 1
  113.  
  114.  
  115.  
  116.    Target Version 1.5                                           Page 2
  117.  
  118.  
  119.                 INTRODUCTION
  120.                               
  121.                 
  122.    Target is a powerful, multi-purpose file finder and manipulator utility.
  123. It can target selected files across all drives, including logged network 
  124. drives, and can initiate actions on those files such as virus scanning, 
  125. file copying, renaming, re-grouping, deleting, archiving and multiple 
  126. other functions.  It can search based on date ranges, file sizes, archive 
  127. condition, file types or duplicate files, and can use a variety of search 
  128. masks - including regular expressions.
  129.    
  130.     Target can perform a wide range of manipulations on files that are
  131. found, ranging from simple deletions, or scans for viruses, to complex 
  132. re-structurings or re-orderings.  As an example of the nearly unlimited
  133. uses for Target, each of the following tasks can be performed with one
  134. simple Target command:
  135.  
  136.     - Target all .DOC files located in all sub-directories of local 
  137.       drives and file server drives and incorporate them into
  138.       one ZIP archive file, and then delete all of the unarchived
  139.       DOC files.
  140.  
  141.     - Target all files on all drives that were modified in the past
  142.       five days and copy the files to floppy diskette for backup 
  143.       purposes.
  144.  
  145.     - Remove all files from within your archives that are more 
  146.       than 5 years old.
  147.  
  148.     - Target all files with a given extension on your file server
  149.       and move them into one sub-directory.
  150.  
  151.     - Create an archive of all files that are greater than 2 
  152.       megabytes long.
  153.  
  154.     - Search all drives for files that have the numbers 1 through 5
  155.       as the last character of the filename and scan those files for 
  156.       viruses.
  157.  
  158.     - Determine wasted space occupied by backup files, archives, old
  159.       files, or any other file classifications.
  160.         
  161.  
  162.    Target provides a number of search options, including:
  163.  
  164.         o   The ability to search inside ARC, ZIP, PKA, PAK,
  165.         ZOO, ARJ, and LZH archived files.
  166.  
  167.         o   The ability to search for files that have been
  168.         compressed with PKWare's PKLite program.
  169.  
  170.  
  171.  
  172.    Target Version 1.5                                           Page 3
  173.  
  174.  
  175.  
  176.         o   True regular expression searching on filenames.
  177.  
  178.         o   The ability to display duplicate entries across all of
  179.         your disk drives, including those duplicates that are in 
  180.         archive files.
  181.  
  182.         o   Excluding files from a search based on a search mask.
  183.  
  184.         o   The ability to do restrictive searches on such criteria
  185.         as file date ranges and file sizes, archive bit settings, 
  186.         hidden file flags and other file characteristics.
  187.  
  188.  
  189.  
  190.    Target Version 1.5                                           Page 4
  191.  
  192.  
  193.  
  194.                 USING TARGET
  195.  
  196. FILE SEARCH FACILITIES
  197.  
  198.     Locating files with Target is simple and intuitive.  If you do not
  199. specify a path, then Target will search the entire default drive.  If you
  200. specify a starting path, then the search will occur from that path downward.
  201.  
  202.   Here are some basic command line examples:
  203.  
  204.   Target ab*.c                  search entire default drive for any filename
  205.                 matching "ab*.c".
  206.  
  207.   Target \turboc\ab*.c          search downward from the \turboc\ directory
  208.                 on the default drive looking for "ab*.c".
  209.  
  210.   Target d:*.dat -a             search entire drive d: and all archive files
  211.                 on drive d: looking for "*.dat".
  212.  
  213.   Target cd:*.dat -a            search entire drive c: and drive d: and all
  214.                 archive files looking for "*.dat".
  215.  
  216.   Target myprog                 search entire default drive looking for
  217.                 "myprog.*" (Target will append a ".*" to
  218.                 a filename with no extension specified).
  219.  
  220.   Target myprog.                search entire default drive looking for
  221.                 "myprog".  If you specify a "." after a
  222.                 filename, Target will not append an "*" to it.
  223.  
  224.  
  225. Command Line Switches
  226.  
  227.     Switch:  -A
  228.     Meaning:  search all archive files
  229. Description:  The '-a' switch tells Target to look in any archive file
  230.           encountered for a matching filename.  If a matching filename
  231.           is found, it will be displayed in parenthesis along with the
  232.           full name of the archive file it resides in.
  233.  
  234.  
  235.      Switch:  -AO
  236.     Meaning:  search -ONLY- archive files
  237. Description:  The '-ao' switch tells Target to ONLY look in any archive file
  238.           encountered for a matching filename.  If a matching filename
  239.           is found, it will be displayed in parenthesis along with the
  240.           full name of the archive file it resides in.
  241.  
  242.  
  243.  
  244.  
  245.  
  246.    Target Version 1.5                                           Page 5
  247.  
  248.  
  249.  
  250.      Switch:  -ARC -ARJ -PKA -LZH -ZIP -ZOO
  251.     Meaning:  search only the archive formats specified
  252. Description:  These switches tell Target to only look inside the specified
  253.           types of archive files for a matching filename.  For example,
  254.           if you are sure that the file named MYPROG.EXE is somewhere
  255.           on drive C: in a .ZIP file, then
  256.  
  257.             Target c:myprog.exe -zip
  258.  
  259.           would find the file.  Specifying individual archive format
  260.           switches slightly speeds up Target, because the program doesn't
  261.           have to waste time searching for (and through) all six archive
  262.           formats.
  263.  
  264.  
  265.      Switch:  "regular expression"
  266.     Meaning:  do a grep-type search on the filename
  267. Description:  Any command line string enclosed within double quotes will be
  268.           considered a regular expression, and will cause Target to go
  269.           into its "grep mode".   A regular expression can be used with
  270.           or without a filename search mask.
  271.  
  272.           Target will also look inside of 4DOS description files for
  273.           the string specified.  If a match is found, the normal output
  274.           line will be displayed, along with the actual 4DOS description
  275.           line below the filename line.
  276.  
  277.           Special characters within the quoted string are as follows:
  278.  
  279.  
  280.               ^  -  start matching at the first character of
  281.                  the filename
  282.               ?  -  match any character in this position
  283.             [..] -  range check on character at this position
  284.  
  285.  
  286.           The easiest way to explain is with a few examples:
  287.  
  288.           Target *.bat
  289.  
  290.           the regular search; will display any .BAT file found.
  291.  
  292.  
  293.           Target *.bat "42"
  294.  
  295.           will display any .BAT file that contains the characters
  296.           "42" anywhere in the filename.
  297.  
  298.  
  299.           Target *.bat "^???42"
  300.  
  301.  
  302.    Target Version 1.5                                           Page 6
  303.  
  304.  
  305.  
  306.           will display any .BAT file that contains the characters
  307.           "42" in the fourth position of the filename.
  308.  
  309.  
  310.           Target "[0-9]"
  311.  
  312.           will display any file that contains a number anywhere in
  313.           the filename.
  314.  
  315.  
  316.           Target "[^0-9]"
  317.  
  318.           will display any file that DOES NOT contain a number
  319.           anywhere in the filename.
  320.  
  321.  
  322.           Target "^???a?[acew-z]"
  323.  
  324.           will display any file that contains an 'a' in the fourth
  325.           position of the filename and the letters 'a', 'c', 'e',
  326.           'w', 'x', 'y', or 'z' in the sixth position of the name.
  327.  
  328.  
  329.           These grep masks also work when looking inside of archive files.
  330.  
  331.  
  332.      Switch:  -D
  333.     Meaning:  search all available hard drives
  334. Description:  This switch tells Target to search every hard drive on your
  335.           system (including network drives), starting with C:.  In other
  336.           words, if you have drives C:, D:, E:, and F: then the following
  337.           two command lines would do the exact same thing:
  338.  
  339.             Target cdef:myprog.exe
  340.             or
  341.             Target myprog.exe -d
  342.  
  343.           Note that specifying the "-d" switch overrides any drive
  344.           letters that you specify on the command line.
  345.  
  346.  
  347.      Switch:  -DIR
  348.     Meaning:  include directory names in the search
  349. Description:  This switch tells Target to also include directory names in
  350.           the search.  This allows you to not only locate a lost file,
  351.           but lost directories, too.
  352.  
  353.  
  354.       Switch: -DUP
  355.      Meaning: Display only duplicate filenames on the drives searched
  356.  
  357.  
  358.    Target Version 1.5                                           Page 7
  359.  
  360.  
  361.  
  362.  Description: If the -DUP switch is specified, only those files that have
  363.           duplicate entries will be displayed.  All other switches are
  364.           active during -DUPlicate processing.  For example, the
  365.           following command line:
  366.  
  367.               Target *.bat -a -d -dup
  368.  
  369.           would cause Target to search all hard drives (-d) looking for
  370.           duplicate .BAT files.  Target would also look inside of all
  371.           found Archive files (-a).
  372.  
  373.       NOTE:  Target must keep filenames in memory when searching for
  374.          duplicate files.  If an extremely large disk is being searched
  375.          for duplicates, memory problems may occur.  If you  get the 
  376.          message "Error: out of memory!" when trying to find duplicates 
  377.          across all drives, then divide the search into overlapping 
  378.          areas, or search by extension or other file characteristic 
  379.          to limit the number of files reviewed in a given pass.  
  380.          If you are looking for duplicates on a very large drive, then 
  381.          Target will take some time.   Don't be alarmed if the program
  382.          seems to not be doing anything during its search.
  383.  
  384.  
  385.      Switch:  -E
  386.     Meaning:  use "*.*" for subdirectory searches
  387. Description:  By default, Target assumes that you don't have any directories
  388.           on your hard drive that have extensions in the filename.  So,
  389.           when Target is looking for new directories, it will search with
  390.           a filemask of "*.".   This significantly speeds up the hard drive
  391.           search.  If you do have directories that have extensions in their
  392.           names, you must specify the '-e' switch or Target -will not-
  393.           find files within that subdirectory.  The easiest thing to do is
  394.           to set your Target environment variable to default to this
  395.           option (see "The Target Environment Variable" below).
  396.           
  397.      Switch:  -F
  398.     Meaning:  display filenames only
  399. Description:  This switch causes Target to display only the filename of
  400.           matching files that it finds.  No header or footer information
  401.           will be displayed.  This is most useful when you are
  402.           redirecting the output from Target to a file.
  403.  
  404.  
  405.      Switch:  -G or -GF
  406.     Meaning:  go to the drive and subdirectory of the found file
  407. Description:  If you specify the '-g' switch, Target will prompt you with
  408.  
  409.                 Goto this subdirectory? (Y/N/Q) _
  410.  
  411.           whenever it finds a matching file.  Press 'Y' to change to
  412.  
  413.  
  414.    Target Version 1.5                                           Page 8
  415.  
  416.  
  417.  
  418.           the drive and subdirectory displayed, or 'N' to continue
  419.           searching the drive.  You may also enter 'Q' to abort Target.
  420.           If you specify the '-gf' switch, Target will change to the
  421.           directory of the first found file without prompting you.
  422.  
  423.  
  424.      Switch:  -H or -HO
  425.     Meaning:  start searching in the current subdirectory
  426. Description:  The '-h' switch tells Target "start searching where I'm at
  427.           right now".   For example, if you are currently in the TURBOC
  428.           subdirectory, then the following two commands would do the
  429.           exact same thing:
  430.  
  431.              Target \turboc\myprog.c
  432.              or
  433.              Target myprog.c -h
  434.  
  435.           The '-ho' switch tells Target to both (a) start in the current
  436.           directory, and (b) to ONLY search the current directory.
  437.           With this switch, Target can be used as a directory program
  438.           with the ability to list archive files.   For example,
  439.           you could create the following batch file and call it
  440.           ARCDIR.BAT:
  441.  
  442.                 @echo off
  443.                 Target %1 -ho -a
  444.  
  445.           Now, when you give the command "ARCDIR", you will be shown
  446.           the directory listing, along with all files contained within
  447.           archive files in your current subdirectory.
  448.  
  449.  
  450.      Switch:  -I
  451.     Meaning:  ignore the environment variable Target
  452. Description:  The '-i' switch tells Target to ignore any default switches
  453.           that you have set with the Target environment variable.
  454.  
  455.  
  456.      Switch:  -M -R -PL
  457.     Meaning:  modify Target's default output display
  458. Description:  These switches allow you to modify the way that Target
  459.           displays its output.  By default, Target will place the
  460.           filename on the left of the screen (just like DIR does).
  461.           If you prefer, you can use '-M' to place the filename in the
  462.           middle of the screen, '-R' to place the filename on the
  463.           right of the screen, or '-PL' to put the pathname on the left
  464.           of the screen.  Usually set in the environment.
  465.  
  466.  
  467.  
  468.  
  469.    Target Version 1.5                                           Page 9
  470.  
  471.  
  472.  
  473.      Switch:  -K
  474.     Meaning:  search only the PATH directories
  475. Description:  This switch will cause Target to search only the directories
  476.           that are specified in your DOS PATH environment variable.
  477.  
  478.  
  479.      Switch:  -Y
  480.     Meaning:  display the output with European-style dates (DD-MM-YY)
  481.  
  482.  
  483.      Switch:  -W
  484.     Meaning:  show wasted space occupied by matching files
  485. Description:  This switch can come in handy if you are trying 
  486.           to figure out how much disk space is being wasted
  487.           by a bunch of very small files (batch files are a prime
  488.           example).  Target will total and display to you the amount of
  489.           disk space that is being wasted due to cluster overhead.
  490.  
  491.  
  492.      Switch:  -U
  493.     Meaning:  display all output in upper case
  494. Description:  Some people still prefer to see directory-type listings in
  495.           ALL UPPER CASE; if you're one of these people, then just use
  496.           the '-U' switch.  It's best to set this in your Target
  497.           environment variable.
  498.  
  499.  
  500.      Switch:  -P
  501.     Meaning:  no pause or wait for a key when the screen fills up
  502. Description:  Will cause Target to not pause the screen when it
  503.           fills up.
  504.  
  505.  
  506.      Switch:  -PKLite
  507.     Meaning:  search for files compressed with PKLite
  508. Description:  This switch will cause Target to only look for .COM and
  509.           .EXE files that have been compressed with PKWare's PKLITE
  510.           program.  PKLite is a program that compresses executable
  511.           programs, and then un-compresses them at runtime.
  512.  
  513.  
  514.      Switch:  -Xfilemask
  515.     Meaning:  exclude this filespec from the search
  516. Description:  The '-X' switch allows you to exclude certain filenames from
  517.           the directory search.  You can specify up to 25 exclusion
  518.           masks.   For example, if you wanted to see all files on your
  519.           drive except for .OBJ and .PRG files, you could do:
  520.  
  521.             Target *.* -x*.obj -x*.prg
  522.  
  523.  
  524.  
  525.    Target Version 1.5                                           Page 10
  526.  
  527.  
  528.  
  529.      Switch:  -LT -EQ -GT
  530.     Meaning:  specify a file size range
  531. Description:  These switches allow you to search only for files within a
  532.           certain size range.  Some examples:
  533.  
  534.              Target *.PAS -LT1024
  535.  
  536.           would display all .PAS files that have a size smaller than
  537.           1024 bytes.
  538.  
  539.              Target *.* -EQ0
  540.  
  541.           would display all files that have a length of zero.
  542.  
  543.              Target *.* -GT500000
  544.  
  545.           would display all files that are larger than 500,000 bytes.
  546.  
  547.              Target *.* -GT1023 -LT2049
  548.  
  549.           would display all files that are from 1,024 to 2,048
  550.           bytes in size, inclusive.
  551.  
  552.  
  553.      Switch:  -S -B
  554.     Meaning:  specify a file date range
  555. Description:  These switches allow you to search only for files within a
  556.           certain date range.  These switches are the "since" (S)
  557.           switch and the "before" (B) switch.  Both switches come in
  558.           two flavors; you can specify the date in number of days
  559.           (eg: -S5) or with a full date (eg: -S8-19-89).   If you
  560.           specify either switch with no date specifier, then it defaults
  561.           to '0 days'.  These date specifiers are also used when looking
  562.           inside of archive files.  Some examples:
  563.  
  564.               Target *.PAS -S5
  565.  
  566.           would display all .PAS files that have a date greater than or
  567.           equal to 5 days ago (in other words, modified SINCE 5 days ago).
  568.  
  569.               Target *.PAS -S5-1-89
  570.  
  571.           would display all .PAS files modified SINCE 5/1/89.
  572.  
  573.               Target *.PAS -B5
  574.  
  575.           would display all .PAS files modified BEFORE 5 days ago.
  576.  
  577.               Target *.PAS -B5-1-89
  578.  
  579.  
  580.  
  581.    Target Version 1.5                                           Page 11
  582.  
  583.  
  584.           
  585.           would display all .PAS files modified BEFORE 5/1/89.
  586.  
  587.               Target *.PAS -S5-1-89 -B6-1-89
  588.  
  589.           would display all .PAS files modified between the dates of
  590.           5-1-89 and 5-31-89.
  591.  
  592.               Target *.PAS -S
  593.  
  594.           would display all .PAS files that have been modified today
  595.           (defaults to '-S0').
  596.  
  597.  
  598.      Switch:  -Z
  599.     Meaning:  show only files with their archive bit set
  600. Description:  The '-Z' switch allows you to display only those files which
  601.           have their "archive bit" set on.  In other words, it will show
  602.           all files that have been modified since your last backup (if
  603.           your backup program clears the archive bit, that is).
  604.  
  605.  
  606.      Switch:  -HIDDEN
  607.     Meaning:  also show hidden and system files
  608. Description:  The '-hidden' switch allows you to also display those files
  609.           which are "system" and "hidden" files.
  610.  
  611.  
  612.  
  613.  
  614.  
  615. FILE MANIPULATION FACILITIES
  616.  
  617.       Switch:  -C"command to execute"
  618.            -CV"command to execute"
  619.            -O"command to display"
  620.      Meaning:  Execute (or display) a DOS command or application program
  621.            on all files found.
  622.  Description:  This switch tells Target to execute the command or program
  623.            within the double quotes on each matching file found.  If the
  624.            referenced program is not a DOS command, then it must be 
  625.            found in the system PATH.
  626.            
  627.            Target provides access to replaceable parameters that
  628.            can pass the full filename, the pathname only, the filename 
  629.            only, or the name of the archive member (if you're searching 
  630.            archives) to the command or program.
  631.  
  632.            When you use the -cv switch, it operates identically to the
  633.            -c switch, except that Target will ask you for confirmation
  634.            before it actually executes the command.
  635.  
  636.  
  637.    Target Version 1.5                                           Page 12
  638.  
  639.  
  640.            
  641.            The -o switch prints the command it WOULD have executed to 
  642.            the screen.  You may use this as a test before doing the 
  643.            -c command to make sure that what you think you told Target
  644.            to do is the same as what you DID tell it to do.  A more
  645.            important use of the -o command is to redirect all of the
  646.            Target output into a batch file that you can execute later.
  647.  
  648.            Replacement parameters for the DOS command or program being
  649.            executed for both -c and -o are as follows:
  650.  
  651.  
  652.     Parm      Desc           Normal example      Archive example
  653.     ----      ----          -----------------   -----------------
  654.      &f   full file name    c:\dos\xcopy.exe    c:\dos\comlib.zip
  655.      &p   path name only    c:\dos\             c:\dos\
  656.      &d   directory name    c:\dos              c:\dos
  657.      &n   file name only    xcopy.exe           comlib.zip
  658.      &m   archive member    <blank>             xcopy.exe
  659.      &r   root of the name  xcopy               xcopy
  660.      &&   the '&' char
  661.  
  662.           EXAMPLES:
  663.  
  664.            1)  You have many .DOC files straying all over your hard drive,
  665.            and you'd like to incorporate them all into one simple
  666.            ZIP file.  You could do this with the following command:
  667.  
  668.               C:> Target -d *.doc -c"pkzip -m c:\docs.zip &f"
  669.  
  670.            2)  You want to make a copy of all of your Pascal source code
  671.            that has been changed today so that you can take it home
  672.            with you:
  673.  
  674.               C:> Target -d *.pas -s0 -c"copy &f a:\"
  675.  
  676.            3)  You want to get a text file listing of every directory
  677.            name on your hard drive(s) in the file HARDRIVE.DAT:
  678.  
  679.               C:> Target -d nul -o"&p" >c:\Hardrive.Dat
  680.  
  681.            4)  You want to delete every .BAK file on your system (even
  682.            those that are in ZIP files).  This would be a 2-step
  683.            process:
  684.  
  685.            First, delete the normal .BAK files
  686.  
  687.               C:> Target *.bak -v -n
  688.  
  689.            Then, delete them from the archive files
  690.  
  691.               C:> Target -d -ao -zip *.bak -c"pkzip -d &f &m"
  692.  
  693.  
  694.    Target Version 1.5                                           Page 13
  695.  
  696.  
  697.  
  698.      Switch:  -V [-N]
  699.     Meaning:  do a verified delete of any matching files found
  700. Description:  These switches tell Target to delete any matching files found.
  701.           If you specify only the '-V' switch, then Target will prompt
  702.           you before it deletes each file.  If you specify BOTH the '-V'
  703.           and the '-N' switch, then Target --WILL NOT-- prompt you.
  704.           Example:
  705.  
  706.               Target *.bak -v
  707.  
  708.  
  709.      Switch:  -SCAN
  710.     Meaning:  Perform a virus scan on any matching files
  711. Description:  The McAfee Associates' SCAN program must be in the system 
  712.           PATH to use this function.
  713.  
  714.  
  715.  
  716.  
  717.  
  718.            The Target and Target_DRIVES Environment Variables
  719.   
  720.  
  721.  
  722.  
  723.     When Target begins execution, it searches the environment for a variable
  724. named Target.   If this variable is present, its contents will be appended
  725. onto the command line just as if you had entered them in from the keyboard.
  726. This option is very handy for setting "default options" that you'd like for
  727. Target to perform every time.   Simply set the Target variable in your
  728. AUTOEXEC.BAT file.   For example, if you'd like to always (a) page break
  729. when the screen fills up, (b) display the filenames on the right of the
  730. screen, and (c) display output in upper case, you would put the following in
  731. your AUTOEXEC.BAT file:
  732.  
  733.             SET Target=-P -R -U
  734.  
  735.     Target would then use these options every time you executed the program.
  736.  
  737.  
  738.    If you specify the "-d" switch (search all drives), then Target will
  739.  search the environment looking for a variable named Target_DRIVES.   If this
  740.  variable is found, Target will use this list as the definition of the
  741.  drives to search.  If the Target_DRIVES variable does not exist, Target will
  742.  use its own list, which defaults to drives c: through z: (ie: cde...z).
  743.  
  744.    The Target_DRIVES variable is needed mainly by people using networks.
  745.  Target's reckless abandon of simply searching all drive letters caused
  746.  some network users a lot of headaches.   It seems that those affected the
  747.  most were users of Novell networks.   On Novell, you can specify many
  748.  
  749.  
  750.    Target Version 1.5                                           Page 14
  751.  
  752.  
  753.  
  754.  different drive letters for the same "volume" (ie: partition), so Target
  755.  would show the same physical file many times, since Target thought that
  756.  it was really on a different drive.   With the Target_DRIVES variable, it is
  757.  up to the user to tell Target what drives are physically different.  For
  758.  example, let's assume that you have 3 volumes defined, and the drive letter
  759.  assignments are as follows:
  760.  
  761.          Volume 1  -     drives C: and D:
  762.          Volume 2  -     drives E: and F:
  763.          Volume 3  -     drives G: and H:
  764.  
  765.  
  766.    For Target to work correctly, you would put the following line in your
  767.  AUTOEXEC.BAT file:
  768.  
  769.             Set Target_DRIVES=CEG
  770.         or
  771.             Set TA_DRIVES=CEG
  772.  
  773.    (Target will accept TA_DRIVES for the drive searching environment
  774.  variable in place of Target_Drives).
  775.  
  776.    Now, when you search using the "-d" switch, Target won't list duplicate
  777.  filenames.  If the Target_DRIVES Environment Variable exists, it is used
  778.  every time.  If you need to search a different list, you must specify a
  779.  drive list with the filename instead of using the "-d" switch.  For
  780.  example, "Target cdfg:*.bat".
  781.  
  782.    Upper and lower case is not significant in the names of the environment
  783.  variables.  NOTE that no colon is used in the Target_DRIVES environment
  784.  variable; only the drive letters are listed.
  785.  
  786.  
  787.    Target Version 1.5                                           Page 15
  788.  
  789.  
  790.  
  791. REGISTRATION
  792.  
  793.      A registration fee of $20.00US is required for the use of
  794. TARGET by individual home users.  Registration is for one year
  795. and entitles the holder to unlimited free upgrades off of McAfee
  796. Associates' BBS or CompuServe GO MCAFEE.  When registering, a
  797. diskette containing the latest version may be requested.  Add 
  798. $9.00US for diskette mailings.  Only one diskette mailing will 
  799. be made.
  800.      Registration is for home users only and does not apply to
  801. businesses, corporations, organizations, government agencies, or
  802. schools, who must obtain a license for use.  Contact McAfee
  803. Associates for more information.
  804.      Outside of the United States, registration and support may be
  805. obtained from the Agents listed in the accompanying AGENTS.TXT
  806. file.
  807.  
  808.  
  809. TECH SUPPORT
  810.  
  811.      For fast and accurate help, please have the following
  812. information prepared when you contact McAfee Associates:
  813.  
  814.      -    Program name and version number.
  815.  
  816.      -    Type and brand of computer, hard disk, plus any
  817.       peripherals.
  818.  
  819.      -    Version of DOS you are running, plus any TSRs or device
  820.       drivers in use.
  821.  
  822.      -    Printouts of your AUTOEXEC.BAT and CONFIG.SYS files.
  823.  
  824.      -    The exact problem you are having.  Please be as specific
  825.       as possible.  Having a printout of the screen and/or
  826.       being at your computer will help also.
  827.  
  828. McAfee Associates can be contacted by CompuServe Forum, BBS, fax, or
  829. InterNet 24 hours a day, or call our business office at (408) 988-3832,
  830. Monday through Friday, 7:00AM to 5:00PM Pacific Standard Time.
  831.  
  832.      McAfee Associates               (408) 988-3832 office
  833.      3350 Scott Blvd., Bldg. 14      (408) 970-9727 fax
  834.      Santa Clara, CA  95054-3107     (408) 988-4004 BBS (32 lines)
  835.      U.S.A                           USR HST/v.32/v.42bis/MNP1-5
  836.                      CompuServe    GO MCAFEE
  837.                      Internet  mcafee@netcom.com
  838.  
  839. If you are overseas, please refer to the AGENTS.TXT file for
  840. a listing of McAfee Associates Agents for support or sales.
  841.  
  842.  
  843.    Target Version 1.5                                           Page 16
  844.  
  845.  
  846.  
  847. AUTHENTICITY
  848.  
  849.      Target is packaged with the VALIDATE program to ensure the
  850. integrity of the TARGET.EXE file.  The VALIDATE.DOC file tells how
  851. to use VALIDATE.  VALIDATE can be used to check subsequent versions 
  852. of Target for tampering.
  853.  
  854.      The validation results for Version 1.5 should be:
  855.  
  856.           FILE NAME: TARGET.EXE
  857.            SIZE: 65,428
  858.            DATE: 07-21-1992
  859.     FILE AUTHENTICATION
  860.      Check Method 1: 9DD7
  861.      Check Method 2: 0499
  862.  
  863. If your copy of Target differs, it may have been damaged.  Always
  864. obtain your copy of Target from a known source.  Valid copies can
  865. be obtained from McAfee Associates' bulletin board system at 
  866. (408) 988-4004 or from GO MCAFEE on CompuServe.
  867.  
  868.      All of McAfee Associates programs are archived with PKWare's 
  869. PKZIP Authentic File Verification.  If you do not see an "-AV" after 
  870. every file is unzipped and receive the "Authentic Files Verified! # NWN405
  871. Zip Source: McAFEE ASSOCIATES" message when you unzip the files
  872. then do not use them.  If your version of PKUNZIP does not have
  873. verification ability, then this message may not be displayed.
  874. Please contact us if you believe tampering has occurred to the
  875. .ZIP file.
  876.  
  877.  
  878.  
  879.    Target Version 1.5                                           Page 17
  880.  
  881.  
  882.  
  883. HISTORY
  884.  
  885.      Target is the newest version of SST - originally written by
  886. Keith Ledbetter.  McAfee Associates acquired all of Keith's 
  887. programs in June of 1992.  Keith has done a remarkable job and it
  888. was very difficult to improve on his work.  The current version of
  889. Target adds the ability to SCAN for viruses, and relaxes the syntax
  890. requirements somewhat.  For example:
  891.  
  892.         Target C: D: E: *.BAK
  893.  
  894.         Target CD: E:*.BAK
  895.  
  896.         Target CDE: *.BAK
  897.  
  898.         Target CDE:*.BAK
  899.  
  900.      all would be treated as identical.  The original WHEREIS and SST 
  901. require the  -  CDE:*.BAK - to be the only legitimate syntax.
  902.  
  903.      In addition, we have changed the program to default to pause at a 
  904. page break.  The -p is now required to not pause.
  905.  
  906.      Other than this, we could find nothing to change that would improve
  907. Keith's wonderful program.
  908.  
  909.